<link href="/css/bootstrap.min.css" rel="stylesheet"/> 
<link href="/templates/admin/css/admin_default.css" rel="stylesheet"/> 
<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/js/select-chain.js"></script>

<?php $item = $this->arrParam; ?>
<form name="editor" action="" method="post" enctype="application/x-www-form-urlencoded">  
    <div id="main-content">
        <div class="mo-ta">
            <textarea  id="newscontent" name="text"><?php echo stripslashes($item['text']);?></textarea>
        </div>
        
        <div class="news-content">
            <input type="submit" value="Ðăng bài" class="btn btn-success"/>
        </div>
    </div>
</form>
 <script>
               CKEDITOR.replace('newscontent',{
                   fullpage:true,
                   extraPlugins:'docprops',
                   skin:'office2003',
                   
                   extraPlugins : 'autogrow',
	               autoGrow_maxHeight : 800,
                   removePlugins : 'resize'
               });
 </script>